﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using ChatApp.Core.Info;

namespace ChatApp.Core.Business
{
    public interface IUserRoleBusiness
    {
        void Insert(UserRoleInfo pUserRoleInfo);

        void Update(UserRoleInfo pUserRoleInfo);

        void Delete(UserRoleInfo pUserRoleInfo);

        IList<UserRoleInfo> SelectAll();

        UserRoleInfo SelectByPrimaryId(string pId);

        IList<UserRoleInfo> SelectByParams(IList<ParameterInfo> pParams);
    }
}
